Enable ufw on a ubuntu vps

Avatar
  • updated
  • Answered

I am trying to enable ufw on a ubuntu vps however i find it inactive after reboot. I'm also not sure if the default vps configuration uses any other firewall tool.

Pinned replies
Avatar
IMH Support Agent 2
  • Answer
  • Answered

Hello Anthony2,

Thanks for your question on a default firewall.  As far as I can tell, the default install of VPS with Ubuntu does not come with a firewall configured unless you request it.  However, the Cloud Ubuntu does come with Firewalld installed.  You can see more here:  https://www.inmotionhosting.com/support/security/how-to-configure-firewalld-basic-commands/.

If you have any further questions or comments, please let us know.

Kindest Regards,

Arnel C.

Avatar
IMH Support Agent 2
  • Answer
  • Answered

Hello Anthony2,

Thanks for your question on a default firewall.  As far as I can tell, the default install of VPS with Ubuntu does not come with a firewall configured unless you request it.  However, the Cloud Ubuntu does come with Firewalld installed.  You can see more here:  https://www.inmotionhosting.com/support/security/how-to-configure-firewalld-basic-commands/.

If you have any further questions or comments, please let us know.

Kindest Regards,

Arnel C.

Avatar
millermm

the best way to set this up would be to add ufw to init.d so that it automatically starts up with the server.